package com.maxd.service.article;


import com.maxd.model.Article;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface ArticleService {


    Article save(Article article);

    Article selectArticleById(Long articleId);

    Page<Article> selectArticleList(Long classifyId, Integer state, Pageable pageable);

    void deleteArticleById(Long articleId);

    void deleteArticleByIds(String articleIds);

    int updateArticleStateById(Long articleId, Integer state);

    void updateArticleStateByIds(String articleIds);

}
